package org.wendu.wdoa.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class LeaveDto {

    private Integer l_id;
    private String e_id;
    private Date l_start;
    private Date l_end;
    private String l_cause;
    private Integer l_status;
    private Date l_date;
    public Integer getL_status() {
        return l_status;
    }

    public void setL_status(Integer l_status) {
        this.l_status = l_status;
    }

    public Integer getL_id() {
        return l_id;
    }

    public void setL_id(Integer l_id) {
        this.l_id = l_id;
    }

    public String getE_id() {
        return e_id;
    }

    public void setE_id(String e_id) {
        this.e_id = e_id;
    }

    public Date getL_date() {
        return l_date;
    }

    public void setL_date(Date l_date) {
        this.l_date = l_date;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date getL_start() {
        return l_start;
    }

    public void setL_start(Date l_start) {
        this.l_start = l_start;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date getL_end() {
        return l_end;
    }

    public void setL_end(Date l_end) {
        this.l_end = l_end;
    }

    public String getL_cause() {
        return l_cause;
    }

    public void setL_cause(String l_cause) {
        this.l_cause = l_cause;
    }
}
